printed manuals: xrefs in and out of "Preparing Patches"
authorStephen Gildea <stepheng+emacs@gildea.com>
Tue, 1 Apr 2025 05:34:20 +0000 (22:34 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Tue, 1 Apr 2025 16:02:08 +0000 (09:02 -0700)
Fix two cases of links where the on-line manual is one document but the
manual is split into separate documents for printing:

* doc/emacs/package.texi (Fetching Package Sources): fix printed link to
"Preparing Patches" to point to separate document.
* doc/emacs/vc1-xtra.texi (Preparing Patches): fix printed link to
"Directory Variables" to point to separate document.

doc/emacs/package.texi
doc/emacs/vc1-xtra.texi

index 857584b99339958c102599b5b4a6753cbfcfb48a..182efff7afbdbc8b9ce110311b63156f888948a3 100644 (file)
@@ -654,7 +654,13 @@ maintainer, you can use the command @code{package-report-bug} to
 report a bug via Email.  This report will include all the user options
 that you have customized.  If you have made a change you wish to share
 with the maintainers, first commit your changes then use the command
-@code{package-vc-prepare-patch} to share it.  @xref{Preparing Patches}.
+@code{package-vc-prepare-patch} to share it.
+@iftex
+@xref{Preparing Patches,,,emacs-xtra, Specialized Emacs Features}.
+@end iftex
+@ifnottex
+@xref{Preparing Patches}.
+@end ifnottex
 
 @findex package-vc-install-from-checkout
 @findex package-vc-rebuild
index 45bc6d777289158ab41388dbf08e1ad79f37bf32..5c448e741f28a4cc342081d3b4328bc69937c3e4 100644 (file)
@@ -312,7 +312,14 @@ If you expect to contribute patches on a regular basis, you can set
 the user option @code{vc-default-patch-addressee} to the address(es)
 you wish to use.  This will be used as the default value when invoking
 @code{vc-prepare-patch}.  Project maintainers may consider setting
-this as a directory local variable (@pxref{Directory Variables}).
+this as a directory local variable
+@iftex
+(@pxref{Directory Variables,,Per-Directory Local Variables,
+emacs, the Emacs Manual}).
+@end iftex
+@ifnottex
+(@pxref{Directory Variables}).
+@end ifnottex
 
 @node Customizing VC
 @subsection Customizing VC